<?php
/* @var $this DefaultController */

/*$this->breadcrumbs=array(
	$this->module->id,
);*/


$this->breadcrumbs = CategoryNews::getCategoryList('breadcrumbsMenu');

?>
<?php //echo $this->uniqueId . '/' . $this->action->id; ?>

<div class="main_big_block">
    <div class="main_big_block_content">
    
    <?php foreach ($model as $item): ?>
        
        <div class="newsShort">
        <?php echo CHtml::link(CHtml::image('/upload/news/_thumb/'.$item->image.'.jpg', $item->title), array('/news/shownews', 'title'=>$item->alt_title)); ?>  
        
        <div class="newsWidget_title">
            <?php echo CHtml::link($item->title, array('/news/shownews', 'title'=>$item->alt_title)); ?>
        </div>
        
        <div class="newsWidget_date">
            <?=DateFormat::getDate($item->date);?>
        </div>
        
        <div class="newsWidget_short">
            <?=$item->short_story.'...';?>
        </div>
        
        <div class="newsDalee">
             <?php echo CHtml::link('Подробнее', array('/news/shownews', 'title'=>$item->alt_title)); ?>
            </div>
        
        </div>
    
    <?php endforeach;?>
        
        <div class="pages">
            <?php $this->widget('CLinkPager', array(
                'pages' => $pages,
            )) ?>
        </div>


<?php    
    if(!$model) echo('<center>В данной категории записей пока нет.</center>');
?>

    
    </div>
</div>